<?php #//AJAX PHP PENNY AUCTION v.1.1

#///////////////////////////////////////////////////////////
#//  COPYRIGHT 2009 Aaron Helmlinger ALL RIGHTS RESERVED  //
#///////////////////////////////////////////////////////////
?>
<BR>
<table width="95%" border=0 cellpadding=4 cellspacing=1 align=center>
<TR>
<TD>
<FIELDSET><LEGEND>

<span class=PAGE_HEADER >&nbsp;Edit Profile&nbsp;</span>
</LEGEND>

<DIV class=EDITDATA3>

                <form name=details action="<?=basename($_SERVER[PHP_SELF])?>" method="POST">



<?

$OPTIONAL_TEXT = " (".$MSG_30_0090.")";
?>
    <table width="90%" border="0" cellpadding="4" align="center">
        <?
          if($TMP_MSG){
        ?>
        <tr>
            <td valign="top" align="center" colspan=3 class=errfont><? print $TMP_MSG ?></td>
        </tr>
        <?
        }
        ?>
        <tr>
            <td  align="right" ><b><? print $MSG_002; ?> </b></td>
            <td  ><h3><? print $TPL_name ?></h3>
                <input type=HIDDEN name=TPL_name value=<?=$TPL_name?> />
            </td>
        </tr>
        <tr>
            <td width="30%" align="right"  valign="top" ><b><? print $MSG_003; ?> </b> </td>
            <td width="70%"  valign="top"> <b> <? print $TPL_nick; ?></b>
                <input type=HIDDEN name=TPL_nick value=<?=$TPL_nick?> />
                <b><? echo $TPL_num_feedback; ?></b>
                <? if(!$TPL_rate) $TPL_rate=0; ?>
                <img src="./images/estrella_<? echo $TPL_rate; ?>.gif" align="top" alt="<?=$TPL_rate?>" /></td>
        </tr>
        <tr>
            <th colspan="2" valign="top" align="center"> <FONT color=red><? print $MSG_617; ?> </FONT></td>
        </tr>
        <tr>
            <td valign="top" align="right"> <FONT color=red><? print $MSG_268 ?></FONT></td>
            <td align="left"><input type=password name=TPL_password size=20 maxlengtd=20 /> <FONT color=red><? print $MSG_050; ?></FONT> </td>
        </tr>
        <tr>
            <td valign="top" align="right" > <FONT color=red><? print $MSG_005 ?></FONT></td>
            <td align="left">
                <input type=password name=TPL_repeat_password size=20 maxlengtd=20 />
            </td>
        </tr>
        <tr>
            <td valign="top" align="right"><b> <? print $MSG_006; ?> </b> </td>
            <td >
                <input type=text id=EDITDATA name=TPL_email size=50 maxlength=50 value="<? echo $TPL_email; ?>" />
            </td>
        </tr>
        <tr>
            <td  valign="top" align="right"> <b><?=$MSG_252;?></b> </td>
            <td >
                <input type=text id=EDITDATA name=TPL_birthdate size=10 maxlength=10 value="<? echo $TPL_birthdate; ?>" />
                <?
                if($SETTINGS[datesformat] == "USA") {
                	print $MSG_382;
                } else {
                	print $MSG_383;
                }
				?>
            </td>
        </tr>
        <tr>
            <td  valign="top" align="right"><b> <? print $MSG_009; ?> </b> </td>
            <td >
                <input type=text id=EDITDATA name=TPL_address size=40 maxlength=255 value="<? echo $TPL_address; ?>" />
            </td>
        </tr>
        <tr>
            <td  valign="top" align="right"><b> <? print $MSG_010; ?> </b> </td>
            <td >
                <input type=text id=EDITDATA name=TPL_city size=25 maxlength=25 value="<? echo $TPL_city; ?>" />
            </td>
        </tr>
        <tr>
            <td  valign="top" align="right"><b> <? print $MSG_011; ?> </b> </td>
            <td >
                <input type=text id=EDITDATA name=TPL_prov size=10 maxlength=10 value="<? echo $TPL_prov; ?>" />
            </td>
        </tr>
      
      
 <!--
        <tr>
            <td  valign="top" align="right"><b> <? print $MSG_014; ?> </b> </td>
            <td >



            </td>
        </tr>
    -->
    
    
    
        <tr>
            <td  valign="top" align="right"><b> <? print $MSG_012; ?> </b> </td>
            <td >
                <input type=text id=EDITDATA name=TPL_zip size=8 value="<? echo $TPL_zip; ?>" />
            </td>
        </tr>
        <tr>
            <td  valign="top" align="right"><b> <? print $MSG_013; ?> </b> </td>
            <td >
                <input type=text id=EDITDATA name=TPL_phone size=40 maxlength=40 value="<? echo $TPL_phone; ?>" />
            </td>
        </tr>
        <tr>
            <?
            if($SETTINGS[newsletter] == 1)        {
			?>
            <td  align="right" height="2">
                <p><b><i><? print $MSG_603; ?></i></b><br>
                </p>
            <td>
                <input type="radio" name="TPL_nletter" value="1" <? if($TPL_nletter == 1 ) print " CHECKED=true";?> />
                <? print $MSG_030; ?>
                <input type="radio" name="TPL_nletter" value="2" <? if($TPL_nletter == 2 ) print " CHECKED=true";?> />
                <? print $MSG_029;?> &nbsp
                <b><?  print $MSG_609; ?></b>
            </td>
        </tr>
        	<?
            }
	 		?>
        <tr>
            <td colspan=2 align=center>
                <input type="submit" name="Input" value="<?=$MSG_530?>" class=button />
                <input type=reset name="Input" class=button />
            </td>
        </tr>
    </table>
    <input type="hidden" name="action" value="update" />
<input type="hidden" value="United States" name=TPL_country>

</form>
</DIV>


</FIELDSET>
</TD>
</TR>
</TABLE>

<?
include phpa_include("template_user_menu_footer.html");
?>
